package com.kaka.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class PageController {

    @RequestMapping("/jump.do")
    public String toIndex(HttpServletRequest request){
        request.setAttribute("msg","跳转页面");
        return "index.jsp";
    }
}
